package day6.pm;
/**
 *  打印1 -- 100 之间所有的偶数
 *
 * */
public class Exec8 {
    public static void main(String[] args) {
        printIt(100);
    }

    public static void printIt(int n){
        /*for(int i = 1; i < n; i++){
            if(i % 2 == 0) System.out.println(i);
        }*/
        int x = 1;
        while(x++ != 100){
            if(x % 2 == 0) System.out.println(x);
        }
    }
}
